package com.woniuxy;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.service.RbacManagerService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 22/03/25/0025 下午 4:56
 * @Component: 成都蜗牛学苑
 **/
public class TestMySM {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
        RbacManagerService rbacManagerService = applicationContext.getBean("rbacManagerServiceImpl", RbacManagerService.class);
        RbacManager one = rbacManagerService.findOne(1);
        System.out.println(one.toString());
    }
}
